﻿using DAL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class B_Teacher
    {
        DAL.D_Teacher d_Teacher = new DAL.D_Teacher();

        public bool Login(Teacher teacher)
        {
            var res = d_Teacher.Login_sugar(teacher);

        

            return res;
        }
        public List<Teacher> GetList()
        {
            return d_Teacher.GetList();
        }
    }
}
